package cn.codingxiaxw.entity;

/**
 * @author 10849
 * @create 2022-02-22 14:21
 */
public class Persion {

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    private int age;
    private String name;

    public Persion() {
        System.out.println("this is persion 的无参构造器。");
    }

    public Persion(int age, String name) {
        this.age = age;
        this.name = name;
    }
}
